import { window, Range, commands, Selection } from "vscode";
// import { window, Range, workspace, TextDocumentChangeEvent, Disposable, commands } from "vscode";
export class 输入法上屏命令_ {
    public static readonly ID = 'klangscript.输入法上屏命令_';
    public readonly ID = 输入法上屏命令_.ID;
    constructor() { }
    public async execute(文本: string, 范围: Range) {
        if (范围) window.activeTextEditor!.selection = new Selection(范围.start, 范围.end);
        if (文本) commands.executeCommand("vsc.保存用户词典", 文本);
    }
}
